[INFO] fetching crate brotli-no-stdlib 1.0.4...
[INFO] fixing brotli-no-stdlib-1.0.4 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate brotli-no-stdlib 1.0.4 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] finished tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] tweaked toml for crates.io crate brotli-no-stdlib 1.0.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate brotli-no-stdlib 1.0.4 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] [stderr]       Adding alloc-no-stdlib v1.0.0 (available: v1.3.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `brotli-no-stdlib` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc
[INFO] running `Command { std: "docker" "start" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `brotli-no-stdlib` (manifest) generated 2 warnings
[INFO] [stderr]     Checking alloc-no-stdlib v1.0.0
[INFO] [stderr]     Checking brotli-no-stdlib v1.0.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/lib.rs (7 fixes)
[INFO] [stderr]        Fixed src/huffman/mod.rs (3 fixes)
[INFO] [stderr]        Fixed src/test.rs (1 fix)
[INFO] [stderr]        Fixed src/state.rs (3 fixes)
[INFO] [stderr]    Migrating src/bin/brot.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/bin/brot.rs (4 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s
[INFO] [stderr] crater-edition-check: brotli-no-stdlib v1.0.4 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]     Checking brotli-no-stdlib v1.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `integration_tests`
[INFO] [stdout]    --> src/bin/integration_tests.rs:525:2
[INFO] [stdout]     |
[INFO] [stdout] 525 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/integration_tests.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `brotli-no-stdlib` (bin "integration_tests") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               r#try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           r#try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               r#try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           r#try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: too many leading `super` keywords
[INFO] [stdout]   --> src/bin/integration_tests.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 51 |     match super::decompress(&mut input, &mut output) {
[INFO] [stdout]    |           ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: too many leading `super` keywords
[INFO] [stdout]   --> src/bin/integration_tests.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 |     match super::decompress_internal(&mut input, &mut output, 12, 1) {
[INFO] [stdout]    |           ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: too many leading `super` keywords
[INFO] [stdout]   --> src/bin/integration_tests.rs:91:11
[INFO] [stdout]    |
[INFO] [stdout] 91 |     match super::decompress_internal(&mut input, &mut output, 1, 1) {
[INFO] [stdout]    |           ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: too many leading `super` keywords
[INFO] [stdout]    --> src/bin/integration_tests.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |     match super::decompress_internal(&mut input, &mut output, input_buffer_size, output_buffer_size) {
[INFO] [stdout]     |           ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `brotli-no-stdlib` (bin "integration_tests" test) due to 4 previous errors
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc", kill_on_drop: false }`
[INFO] [stdout] 7eb785d4f96ea54a431c1b813ab4e032cac189e208f465105aa1bb034d219ffc
